import random as r

class Fish:
    def __init__(self):
        self.x = r.randint(0, 10)
        self.y = r.randint(0, 10)

    def move(self):
        self.x -= 1
        print('我的位置是：',self.x,self.y)

class Goldfish(Fish):
    pass

class Carp(Fish):
    pass

class Salmon(Fish):
    pass

class Shart(Fish):
    def __init__(self):
        self.humgry = True

    def eat(self):
        if self.humgry:
            print('吃货的梦想就是天天有的吃')
            self.humgry = False
        else:
            print('太撑了，吃不下！')
